package com.all.play.myapplication.moudle.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import com.all.play.myapplication.moudle.dao.UserAccountTable;

/**
 * Created by 聪明一只哈 on 2018/3/30.
 */

public class UserAccountDB extends SQLiteOpenHelper {


    public UserAccountDB(Context context) {
        super(context, "acount.db", null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {

        db.execSQL(UserAccountTable.CRETE_TAB);
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
